import type {ResponseInter} from "@/api/commonInterFace.ts";

export interface UserInter {
    id?: number,
    username?: string,
    password?: string,
    name?: string,
    phone?: string | null,
    roleName?: string,
    createTime?: string,
    updateTime?: string,
}

export type Records = UserInter[]

export interface UserResponseInter extends ResponseInter {
    data: {
        records: Records
        total: number,
        size: number,
        current: number,
        searchCount: number,
        pages: number
    }
}
